<!--
- @founder   IT柏拉图, https: //weibo.com/itprato
- @author    DedeCMS团队
- @copyright Copyright (c) 2007 - 2021, 上海卓卓网络科技有限公司 (DesDev, Inc.)
--->

<html>
<head>
<meta charset="{dede:global.cfg_soft_lang/}" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>修改管理员帐号</title>
<meta name="copyright" content="2007-2021 DedeCMS, 上海卓卓网络科技有限公司 (DesDev, Inc.)" />
<link rel="icon" href="/favicon.ico" />
<!-- CSS FILES -->
<link rel="stylesheet" type="text/css" href="{dede:global.cfg_assets_dir/}/pkg/uikit/css/uikit.min.css" />
<link rel="stylesheet" type="text/css" href="{dede:global.cfg_assets_dir/}/css/manage.dede.css">
<style type="text/css">
.uk-table td{
padding: 6px 12px;
vertical-align: top;
height: 35px;
}
</style>
</head>
<body>
<!-- 列表头部 -->
<div id="Table_Header_202X2W2X1X292F" class="uk-card uk-card-small uk-card-default" uk-sticky="bottom: #offset">
<div id="Header_1W2T2S2T1V252B" class="uk-card-header">
<div class="uk-grid uk-grid-small uk-text-small">
<span><ul class="uk-breadcrumb"><li><a href="sys_admin_user.php">管理员帐号管理</a></li><li><span>修改管理员帐号</span></li></ul></span>
</div>
</div>
</div>
<!-- /列表头部 -->
<!-- 列表主体 -->
<div class="uk-card uk-card-small uk-card-default" style="top:-20px;margin-bottom: 50px;">
<div class="uk-card-body uk-overflow-auto" grid>
<div class="uk-child-width-1-1 uk-padding">
<table width="98%" border="0" cellpadding="1" cellspacing="1" class="uk-table">
<form name="form1" action="sys_admin_user_add.php" onSubmit="return checkSubmit();" method="post">
<input type="hidden" name="token" value="<?php echo $_SESSION['token']; ?>">
<input type="hidden" name="dopost" value="add" />
<!-- 选项 -->
<tr>
<td width="16%" height="30">用户登录ID：</td>
<td width="84%" style="text-align:left;"><?php echo $row['userid']?></td>
</tr>
<tr>
<td height="30">用户笔名：</td>
<td style="text-align:left;">
<input name="uname" type="text" id="uname" value="<?php echo $row['uname']?>" class='uk-input uk-form-small uk-form-width-large'/> &nbsp;（发布文章后显示责任编辑的名字）
</td>
</tr>
<tr>
<td height="30">用户密码：</td>
<td style="text-align:left;">
<input name="pwd" type="text" id="pwd" class='uk-input uk-form-small uk-form-width-large'/> &nbsp;（留空则不修改，只能用'0-9a-zA-Z.@_-!'以内范围的字符）
</td>
</tr>
<tr>
<td height="30">用户类型：</td>
<td style="text-align:left;">
<select name='usertype' class='uk-select uk-form-small uk-form-width-large'>
<?php
$dsql->SetQuery("Select * from #@__admintype order by rank asc");
$dsql->Execute("ut");
while($myrow = $dsql->GetObject("ut"))
{
if($row['usertype']==$myrow->rank) echo "<option value='".$myrow->rank."' selected='1'>".$myrow->typename."</option>\r\n";
else echo "<option value='".$myrow->rank."'>".$myrow->typename."</option>\r\n";
}
?>
</select>
</td>
</tr>
<tr>
<td height="30">负责频道：</td>
<td style="text-align:left;">
<select name="typeids[]" id="typeid" size='10' class='uk-select uk-form-small uk-form-width-large' multiple="true">
<option value="0">--所有频道--</option>
<?php getswitch($typeOptions, 0, $typeids)?>
</select> &nbsp; (按 Ctrl 可以进行多选)
</td>
</tr>
<tr>
<td height="30">真实姓名：</td>
<td style="text-align:left;"><input name="tname" type="text" id="tname" class='uk-input uk-form-small uk-form-width-large' value="<?php echo $row['tname']?>" /> &nbsp;</td>
</tr>
<tr>
<td height="30">电子邮箱：</td>
<td style="text-align:left;"><input name="email" type="text" id="email" class='uk-input uk-form-small uk-form-width-large' value="<?php echo $row['email']?>" /> &nbsp;</td>
</tr>
<tr>
<td height="30">安全验证串：</td>
<td style="text-align:left;">
<input name="safecode" type="text" id="safecode" class='uk-input uk-form-small uk-form-width-large'/>
<input name="randcode" type="hidden" value="<?php echo $randcode; ?>" /> &nbsp; (复制本代码： <font color='red'><?php echo $safecode; ?></font> )
</td>
</tr>
<!-- /选项 -->
</table>
</div>
</div>
<div class="uk-card-footer " >
<div class="uk-padding-small" >
<button type="submit" class="uk-button uk-button-small uk-button-primary">提交</button>
</div>
</div>
</div>
</form>
<!-- 列表底部 -->
<div class="bar-bottom uk-flex uk-light uk-flex-right">
<div class="uk-button-group" style="margin-left: 50px;">
</div>
<div class="e1e02">Copyright &copy; 2007-2021 <a href='http://www.dedecms.com' target='_blank'><u>DedeCMS</u></a>, 上海卓卓网络科技有限公司 (DesDev, Inc.)</div>
</div>
<!-- 列表底部 -->
<!-- JS FILES -->
<script src="{dede:global.cfg_assets_dir/}/pkg/uikit/js/uikit.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/pkg/uikit/js/uikit-icons.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/pkg/jquery/jquery.min.js"></script>
<script src="{dede:global.cfg_assets_dir/}/js/dede.manage.min.js"></script>
<!-- / JS FILES -->
</body>
</html>
